package string;

public class TrimDemo {
    public static void main(String[] args) {
        String str="    world hello    ";
        System.out.println(str.trim());
    }
}
